NDepend.API Documentation
ToManYear(Nullable<TimeSpan>) Method
NDepend.TechnicalDebt Namespace > IDebtFormatter Interface > ToManYear Method : ToManYear(Nullable<TimeSpan>) Method
The estimated nullable duration to fix one or several issues
Gets a double number of man-years that represents duration. The number of man-years is computed from this.DebtSettings.DebtSettings.NumberOfWorkHourPerDay and this.DebtSettings.DebtSettings.NumberOfWorkDayPerYear.
Syntax

Parameters

duration
The estimated nullable duration to fix one or several issues
Remarks
If duration is null this method returns null.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IDebtFormatter Interface
IDebtFormatter Members
Overload List